package com.sip.dbadapter.dao.exception;




public class CustomException extends Exception {

    int exceptionCode;
    String message="";
    
    public CustomException(String msg) {

        super(msg);
      
    }
    
    public CustomException(String msg,Throwable ex,int exceptionCode){
       super(msg,ex); 
    }
    
    public CustomException(String exceptionMessage,int exceptionCodeValue){
        message=exceptionMessage;
        exceptionCode=exceptionCodeValue;
     }

    
    public int getExceptionCode() {
    
        return exceptionCode;
    }

    
    public String getMessage() {
    
        return message;
    }
    

}
